package edu.scau.web.knife4j;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Contact;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Knife4jConfig {

    @Bean
    public OpenAPI openAPI() {
        return new OpenAPI()
                .info(new Info()
                        .title("MISP服装店后台管理系统接口文档")
                        .description("MISP后端API请求接口 分为pos、finance、orders、sku四大模块")
                        .version("V1.0.0")
                        .contact(new Contact().name("MISP21后端组"))
                );
    }

}
